<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
  <style>
    #footer_center p{
      margin: 0;
    }
    #footer_center h3{
      color: white;
    }
  </style>
</head>
<body>
<div id="app">
<el-container>
  <el-header style="margin: 0 auto ;width: 1200px;">
    <el-row gutter="20">
      <el-col span="6">
        <img src="imgs/icon.png" width="200">
      </el-col>
      <el-col span="10">
        <el-menu mode="horizontal" active-text-color="orange">
          <el-menu-item index="1">首页</el-menu-item>
          <el-menu-item index="2">食谱</el-menu-item>
          <el-menu-item index="3">视频</el-menu-item>
          <el-menu-item index="4">咨询</el-menu-item>
        </el-menu>
      </el-col>
      <el-col span="6">
        <el-input style="position: relative;top: 15px;" placeholder="请输入搜索的关键字">
          <el-button slot="append" icon="el-icon-search"></el-button>
        </el-input>
      </el-col>

      <el-col span="2">
      <template>
        <el-popover
                placement="top-start"
                title="欢迎来到烘焙坊!"
                width="200"
                trigger="hover">
          <!--设置初始显示的内容-->
          <div slot="reference">
            <i style="font-size: 30px;position: relative;top: 20px" class="el-icon-user"></i>
          </div>
          <el-button type="info">注册</el-button>
          <el-button type="warning">登录</el-button>
        </el-popover>
      </template>
      </el-col>
    </el-row>
  </el-header>
  <el-main style="background-image: url('imgs/loginbg.gif');height: 500px;background-size: cover;background-position: 50% 50%;margin-top: 30px;">
    <el-card style="width: 500px;height: 300px;margin:  50px auto">
      <el-form label-width="80px" style="margin-top: 50px;">
        <el-form-item label="用户名">
          <el-input type="text" placeholder="请输入用户名"></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input type="text" placeholder="请输入密码"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" style="position: relative;left: 110px;">登录</el-button>
        </el-form-item>
      </el-form>
    </el-card>

  </el-main>
  <el-footer style="background-color:#2f3234;height: 280px;padding: 50px 0">
    <div style="width: 1200px;margin: 0 auto ;text-align:center;color:#666;">
      <el-row gutter="20">
        <el-col span="8">
          <img src="imgs/icon.png">
          <p>教程灵感就看烘焙坊</p>
          <p>烘焙行业网络社区平台</p>
          <p>全国百城上千个职位等你来</p>
        </el-col>
        <el-col span="8">
          <el-row id="footer_center" gutter="20">
            <el-col span="8">
              <h3>关于我们</h3>
              <p>关于我们</p><p>烘焙学院</p>
              <p>烘焙食谱</p><p>分类信息</p>
              <p>求职招聘</p><p>社区交流</p>
            </el-col>
            <el-col span="8">
              <h3>支持与服务</h3>
              <p>联系我们</p><p>广告投放</p>
              <p>用户协议</p><p>友情链接</p>
              <p>在线反馈</p><p>我发投稿</p>
            </el-col>
            <el-col span="8">
              <h3>底部导航</h3>
              <p>Archiver</p><p>手机版</p>
              <p>小黑屋</p>
            </el-col>
          </el-row>
        </el-col>
        <el-col span="8">
          <div style="font-size: 58px;margin-top: 30px">
          <span style="color: orange">烘焙</span><span style="color: #666666">坊</span>
          </div>
          <p>烘焙行业网络社区平台</p>
        </el-col>
      </el-row>
    </div>
  </el-footer>
</el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://unpkg.com/vue@2/dist/vue.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
  let v = new Vue({
    el: '#app',
    data: function() {
      return {

      }
    },
    methods:{

    }
  })
</script>
</html>